$(function () {
    findData();
});

function findData() {
    $.ajax({
        url: '/news',
        data: {whereShow: 2},
        type: 'get',
        dataType: 'json',
        success: function (res) {
            console.log(res);
            setCompanyData(res.companyModel);
            setNavModelData(res.navModelList);

        }
    })
}
